dict = {'name':'TOM','age':20}
# get
print(dict.get('name'))
print(dict.get('names','T'))
# key
print(dict.keys())
# values
print(dict.values())
# items
print(dict.items())
